import {
  Autowired,
  ClazzExtendsMap,
  Component,
  Logger,
  SpringStarter,
} from 'j-spring';

@Component()
export class AppStater implements SpringStarter {
  @Autowired()
  logger: Logger;

  async doStart(_clazzMap: ClazzExtendsMap): Promise<any> {
    this.logger.info('app ssssss-------------');
  }
  isSpringStater(): boolean {
    return true;
  }
}
